-- GENERATED SPELL FOR [Bloodaxe Veteran] --


function spell0_9583(pUnit, Event) --@Pummel,n/a--
pUnit:FullCastSpellOnTarget(15615,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_9583', 5328, 1)
end

function spell1_9583(pUnit, Event) --@Snap Kick,n/a--
pUnit:FullCastSpellOnTarget(15618,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_9583', 2301, 1)
end

function Sorts_9583(pUnit, Event)
local choix_sorts_9583 = math.random(0, 1)
if choix_sorts_9583 == 0 then
pUnit:RegisterEvent('spell0_9583', 1, 1)
end
if choix_sorts_9583 == 1 then
pUnit:RegisterEvent('spell1_9583', 1, 1)
end
end

function mob9583_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_9583', math.random(1500, 3000), 1)
end

function mob9583_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob9583_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob9583_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(9583, 1, 'mob9583_Action')
RegisterUnitEvent(9583, 2, 'mob9583_Leave')
RegisterUnitEvent(9583, 3, 'mob9583_Kill')
RegisterUnitEvent(9583, 4, 'mob9583_Die')
